//
//  OMHomeSwipeGoodCollectCell.m
//  OMENGO_NEW
//
//  Created by 梁尚嘉 on 2017/5/17.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "OMHomeSwipeGoodCollectCell.h"

@implementation OMHomeSwipeGoodCollectCell

- (void)configure
{
    [super configure];
    [self.plusButton mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(_priceLabel.mas_centerY);
        make.right.equalTo(_goodIconImageView.mas_right);
        make.size.mas_equalTo(CGSizeMake(SM_SIZE(60), SM_SIZE(60)));
    }];

    UIView *line = [UIView new];
    line.backgroundColor = HEXCOLOR(@"#EBE9E9");
    [self.contentView addSubview:line];
    [line mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.contentView.mas_right);
        make.width.equalTo(@.5f);
        make.top.equalTo(self.goodIconImageView.mas_top).offset(SM_SIZE(-10));
        make.bottom.equalTo(self.goodIconImageView.mas_bottom).offset(SM_SIZE(10));;
    }];
}

@end
